<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>商品详情页面</title>
  <link rel="stylesheet" href="../css/detail.css">
  <script src="../libs/requirejs/require.min.js" data-main="../js/detail"></script>
</head>
<body>
  <div id="ball"></div>
  <a href="../index.html"><div class="logo"></div></a>
  <div class="hot"></div>


  <div class="hot1"></div>





  <script type="text/html" id="hot-template">
    {{each products prod}}
      <div class="div-left">
        <img class="image small" src="{{prod.image}}" alt="">
        <div class="fdj"></div>
        <div class="big">
          <img src="{{prod.image}}" alt="">
      </div>
      </div>
      <div class="div-right">
        <div class="title div1">{{prod.title}}</div>
        <div class="div2">
          <span class="money1">￥</span><span class="price">{{prod.price}}</span>
          <span class="money2">￥</span><span class="originprice">{{prod.originprice}}</span>
          <hr style="border:1px dashed #ccc;">
          <div class="size">
            <span>尺码:</span>
            <li class="sz">36</li>
            <li class="sz">37</li>
            <li class="sz">38</li>
            <li class="sz">39</li>
            <li class="sz">40</li>
            <li class="sz">41</li>
          </div>
          <div class="amt">
            <span class="amt1">数量：</span>
            <span class="amount"></span>
            <div class="min-plus">
              <button class="plus">∧ </button>
              <button class="minus" >∨</button>
            </div>
          </div>
          <div class="add-to-cart">加入购物车</div>
          <div class="buy">立即购买</div>
        </div>
      </div>
    {{/each}}
  </script>


  //详细图片模板
  <script type="text/html" id="hot1-template">
    {{each photo ph}}
      <img src="{{ph.url}}" alt="" class="content">
    {{/each}}
  </script>




</body>
</html>